<style>
.radius .jy-group {border-radius:0.5rem;margin:0.35rem 0.5rem}
.radius .jy-group .fui-cell-group{border-radius:0.5rem;margin-top:0}
.bgfff .jy-group {background: #fff}
</style>
<div class="jy-group">
	<div class="fui-cell-group">
		<div class="fui-cell" style="padding:0.65rem 0.3rem">
			  <div class="fui-cell-label bold" style="width:auto"><i class="icon icon-kuaiqiang" style="color:{{main.syscolor || 'red'}};font-size:1rem"></i>店长推荐 </div>
			  <div class="fui-cell-info"></div>
			  <div class="fui-cell-remark" ng-click="pagedata.params.pid=-1;tool.get_list('jy_weishop/goods.index/getlist/order=ishot',true)">更多推荐商品</div>
		 </div>
	</div>
	<div ng-if="pagedata.hot_list" class="fui-goods-group block" style="margin:0">
		<div ng-repeat="item in pagedata.hot_list" class="fui-goods-item" ng-if="$index<3" style="width:33.3%;height:auto">
					<div ng-click="pagedata.gotoitem(item);" ng-class="{'image':1, 'echelon':item.active.title}" data-text="{{item.active.title}}" style="height:6rem;background-image: url({{tomedia(item.image) ||'../core/resource/images/nopic.jpg'}})">
							<div ng-show="item.total <=0" class="salez" style="background-image: url({{tomedia(pagedata.shopset.shop.saleout)}}); "></div>
					</div>
					<div ng-click="pagedata.gotoitem(item);" class="detail" style="height:auto">
						<div class="name" style="font-size:0.6rem">
							{{item.title}}
						</div>
						<div class="price" style="margin-top:0;font-weight:400">
							<span class="text"><span style="font-size:0.5rem;">￥</span>{{item.active.price || item.price}}</span>
							<span class="syscolorred"><i class="icon icon-tianmaochaoshigouwuche"></i></span>
						</div>
					</div>
		</div>
	</div>
</div>
<script>
scope.pagedata.gotoitem=function(item){
	if(item.pluginname=='jy_taobaoke'){
		$('#showtaobaoke').modal();
		scope.pagedata.selectgoods=item;
		scope.pagedata.copyinfo='【'+item.title+'】'+item.active.url+' 点击链接，再选择浏览器打开；或复制这段描述'+item.active.code+'后到《手机淘宝》';
		scope.$evalAsync();
	}else{
		scope.access_json(item.active.url || 'jy_weishop/goods.detail//id='+item.id);
	}
}

</script>